package runtime

import "fmt"

type typeError struct {
	actual   string
	expected string
}

func (e typeError) Error() string {
	return fmt.Sprintf("value is of type %s, but %s was expected", e.actual, e.expected)
}
